module.exports = app => {
    const { STRING, INTEGER, DATE, DECIMAL } = app.Sequelize;

    const TotalEnter3 = app.model.define('total_enter3', {
        id: {
            type: INTEGER,  //整型
            primaryKey: true,  //主键
            autoIncrement: true,  //自增
        },
        date: STRING(255),
        time: STRING(255),
        number: INTEGER,
        amount: DECIMAL,
        win: INTEGER,
        los: INTEGER,
        z_value: INTEGER,
        z_amount: STRING(255),
        z_index: INTEGER,
        win_num:INTEGER,
        los_num: INTEGER,
        type: INTEGER,
        task_id: INTEGER,
        name: STRING(255),
    })
    return TotalEnter3
}